package com.softwareconstruction.model;

public abstract class Paper {
    private String title;
    private String author;
    
    public Paper(String title, String author) {
        this.title = title;
        this.author = author;
    }
    
    public String getTitle() {
        return title;
    }
    
    public void setTitle(String title) {
        this.title = title;
    }
    
    public String getAuthor() {
        return author;
    }
    
    public void setAuthor(String author) {
        this.author = author;
    }
    
    public abstract String getType();
    
    public abstract void accept(com.softwareconstruction.pattern.PaperVisitor visitor);
}